package ar.com.quickMart.logic;

public class PromotedProduct extends Product{
	

	
	/**
	 * 
	 */
	private static final long serialVersionUID = 3496404114345537862L;
	
	private float discount;
	

	public float getDiscount() {
		return discount;
	}

	public void setDiscount(float discount) {
		this.discount = discount;
	}
	
	@Override
	public Float getPrice() {
		return super.getPrice()*discount;
	}
}
